package com.example.miaosha.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.miaosha.entity.SeLoanRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Date 2022/2/22 17:10
 */
public interface SeLoanRecordMapper extends BaseMapper<SeLoanRecord> {

    /**
     * 查询 贷款记录
     *
     * @param userId
     * @param startTime
     * @param endTime
     * @return
     */
    public List<SeLoanRecord> selectRecordById(@Param("userId") String userId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
